money
<!--
 * @Description: 长来余额支付成功页面
 * @Author: Kerwin
 * @Date: 2024-08-29 16:15:05
 * @LastEditTime: 2025-03-31 11:13:50
 * @LastEditors:  Please set LastEditors
-->
<template>
  <view class="content">
    <text class="iconfont hy-icon-paySuccess"></text>
    <text class="tit">来钡余额支付成功</text>
    <!-- 扫码付款显示 -->
    <view class="btn-group" v-if="tempObj.isSmfk == 1">
      <u-button @click="handleClick" type="success" plain>继续付款</u-button>
      <u-button @click="toDownload" type="success">下载APP</u-button>
    </view>
  </view>
</template>

<script setup lang="ts">
import { computed, reactive, ref, watch, nextTick } from 'vue'
import { onLoad, onShow, onLaunch } from '@dcloudio/uni-app'
const tempObj = ref<any>({})
onLoad((option: any) => {
  console.log('支付成功页面', option)
  tempObj.value = { ...option }
  console.log('tempObj', tempObj.value)
})
function handleClick() {
  uni.navigateTo({
    url: `/pages/physicalShopCheck/index?qrcode=${tempObj.value.qrcode}&shopId=${tempObj.value.shopId}&shareCode=${tempObj.value.shareCode}`
  })
}
function toDownload() {
  window.open('http://www.blacksilverscore.com/download/index.html')
}
</script>

<style lang="scss" scoped>
.content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.hy-icon-paySuccess {
  color: #19be6b;
  font-size: 160rpx;
  margin-top: 100rpx;
}
.tit {
  font-size: 38upx;
  color: #303133;
  margin-top: 20rpx;
}
.btn-group {
  padding-top: 100rpx;
  display: flex;
  gap: 40rpx;
}
.mix-btn {
  margin-top: 30upx;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 600upx;
  height: 80upx;
  font-size: 36rpx;
  color: #fff;
  border-radius: 10upx;
  &.hollow {
    background: #fff;
    color: #303133;
    border: 1px solid #ccc;
  }
}
</style>
